﻿using Newtonsoft.Json;

namespace AdminBase.Model
{
    /// <summary>
    /// 密码模型
    /// </summary>
    public class PasswordDto
    {
        /// <summary>
        /// ID
        /// </summary>
        [JsonProperty("id")]
        public long? ID { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        [JsonProperty("userName")]
        public string? UserName {  get; set; }

        /// <summary>
        /// 盐值
        /// </summary>
        [JsonProperty("salt")]
        public string? Salt { get; set; }

        /// <summary>
        /// 旧密码
        /// </summary>
        [JsonProperty("oldPassword")]
        public string? OldPassword { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [JsonProperty("password")]
        public string? Password { get; set; }

        /// <summary>
        /// 确认密码
        /// </summary>
        [JsonProperty("confirmPassword")]
        public string? ConfirmPassword { get; set; }
    }
}
